package com.flow.demo.module.gd.controller.admin.activities.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.flow.demo.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.flow.demo.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 活动分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ActivitiesPageReqVO extends PageParam {

    @Schema(description = "活动名称", example = "李四")
    private String name;

    @Schema(description = "活动规则")
    private String rules;

    @Schema(description = "活动状态")
    private String state;

    @Schema(description = "活动扫码背景图")
    private String bgImage;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}